#!/bin/bash
#========================================================================
# Author: YSLin
# Email: 
# File Name: builddalvikvm.sh
# Description: 
#   To-do :目前編譯在TARGET=x86會失敗
# Edit History: 
#   2010-11-25    File created.
#========================================================================
ANDROID_SRC_DIR=/home/zod/mydroid_froyo32bitx86
cd $ANDROID_SRC_DIR
source build/envsetup.sh
#設定為可以在x86執行的binary out, 目前沒辦法不知道為什麼
lunch sim-eng
#基本arm預設
#lunch generic-eng 

#麻煩還是用make [-j4],避免有的library還沒編好
#external/elfcopy;mm
#cd buidl/tools/apriori; mm
#cd bionic; mm
#第一次執行要先mm bionic,不然可能會有相依的libdl.so沒編到
cd dalvik
mm 
